﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetDon.Utilities;

namespace NetDon.OA.Interface
{
    /// <summary>
    /// 人员身份 
    /// </summary>
    [Flags]
    public enum PersonnelStatus
    {
        [EnumDescription("干部")]
        Cadres = 1,
        [EnumDescription("员工")]
        Staff = 2,

    }



    [Flags]
    public enum UserType
    {
        [EnumDescription("内部员工")]
        InternalUser = 1,
        [EnumDescription("门店用户")]
        StoreUser = 2,
        [EnumDescription("超级管理员")]
        Administrators = 99,
    }

    [Flags]
    public enum UserStatus
    {
        [EnumDescription("未激活")]
        NotActive = 0,
        [EnumDescription("激活")]
        Active = 1
    }

    [Flags]
    public enum GenderType
    {
        [EnumDescription("未知")]
        UnKnown = 0,
        [EnumDescription("男")]
        Male = 1,
        [EnumDescription("女")]
        Female = 2
    }




    [Flags]
    public enum MaritalStatus
    {
        [EnumDescription("未婚")]
        Unmarried = 1,
        [EnumDescription("已婚")]
        Married = 2
    }




    #region YesOrNo 是/否
    [Flags]
    public enum YesOrNo
    {
        [EnumDescription("否")]
        No = 0,
        [EnumDescription("是")]
        Yes = 1
    }
    #endregion





    #region OrderType 订单类型
    /// <summary>
    /// 订单类型
    /// </summary>
    [Flags]
    public enum OrderType
    {
        [EnumDescription("内销")]
        InternalSale = 9401,
        [EnumDescription("外销")]
        ExternalSale = 9402
    }
    #endregion

    #region ShippingType 发货方式
    /// <summary>
    /// 发货方式
    /// </summary>
    [Flags]
    public enum ShippingType
    {
        [EnumDescription("货运")]
        Freight = 9411,
        [EnumDescription("快递")]
        Express = 9412,
        [EnumDescription("客运")]
        Passenger = 9413
    }
    #endregion

    #region OrderStatus 订单状态
    /// <summary>
    /// 订单状态
    /// </summary>
    [Flags]
    public enum OrderStatus
    {
     
 
        [EnumDescription("已出单")]
        Submitted = 9422,
        [EnumDescription("已调车")]
        Shunted = 9423,
        [EnumDescription("已装车")]
        Entrucked = 9424,
        [EnumDescription("在途跟踪完毕")]
        OnWayTrackCompleted = 9425,
        [EnumDescription("回单跟踪完毕")]
        ReceiptTrackComplted = 9426,
        [EnumDescription("运输部已结案")]
        Closed = 9427
    }
    #endregion


    [Flags]
    public enum AttachmentType
    {
        [EnumDescription("未付款")]
        NotPay = 0,
        [EnumDescription("已付款")]
        Payed = 1
    }

    /// <summary>
    /// 付款状态
    /// </summary>
    [Flags]
    public enum PayedStatus
    {
        [EnumDescription("未付款")]
        NotPay = 0,
        [EnumDescription("已付款")]
        Payed = 1
    }

    /// <summary>
    /// 付款状态
    /// </summary>
    [Flags]
    public enum BusinessType
    {
        [EnumDescription("全部")]
        All = 0,
        [EnumDescription("A")]
        A = 1,
        [EnumDescription("B")]
        B = 2,

    }

    [Flags]
    public enum CheckoutType
    {
        [EnumDescription("整车")]
        Whole = 0,
        [EnumDescription("零担")]
        LessThanCarLoad = 1,
        [EnumDescription("实际")]
        Actual = 2
    }

    [Flags]
    public enum MachineAccountType
    {
        [EnumDescription("全部")]
        All = 0,
        [EnumDescription("收入")]
        Income = 1,
        [EnumDescription("支出")]
        Payment = 2,

    }

    [Flags]
    public enum GoodsTravelDayUnit
    {
        [EnumDescription("天")]
        Day = 0,
        [EnumDescription("小时")]
        Hour = 1,

    }
}